<%@ page language="java" import="java.util.*,ms.platform.system.model.*"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<html>
<head>
<title>材料库存修改</title>
<base href="<%=basePath%>">

<!-- 引用新样式 start -->
<jsp:include page="../../jsp/public.jsp" flush="true" />
<!-- end -->
<style type="text/css">
#meterTabInfoList td {
	border: 1px solid !important;
	border-collapse: collapse !important;
}
</style>
<script type="text/javascript" src="<%=basePath%>js/meter/editMeter.js"></script>
</head>
<body>
	<div class="col-lg-12">
		<div class="index-nav-right">
			<div class="index-nav-right-header">
				<span>当前位置 > 材料入库修改</span>
			</div>
		</div>

		<div class="add-one-right">

			<div class="row">
				<div class="addInfo-one" id="departmentId"
					style="padding-top: 0px; height: 420px;">
					<div class="row add-one-form-rowHeight">
						<div class="form-group col-lg-5 col-lg-offset-1">
							<label class="col-lg-3 control-label add-one-form-label">部品番号<span
								class="font-red">*</span>:
							</label>
							<div class="col-lg-7">
								<input type="text" class="form-control" id="modelCode"
									value="${meter.modelCode }">
							</div>
						</div>
						<div class="form-group col-lg-5">
							<label class="col-lg-3 control-label add-one-form-label">用途<span
								class="font-red">*</span>:
							</label>
							<div class="col-lg-7">
								<select class=" form-control input-sm" name="useFor" id="useFor">
									<option value="取样" <c:if test="${meter.useFor == '取样'}">selected</c:if>>取样</option>
									<option value="调试" <c:if test="${meter.useFor == '调试'}">selected</c:if>>调试</option>
								</select>
							</div>
						</div>
					</div>
					<div class="row add-one-form-rowHeight">
						<div class="form-group col-lg-5 col-lg-offset-1">
							<label class="col-lg-3 control-label add-one-form-label">送长<span
								class="font-red">*</span>:
							</label>
							<div class="col-lg-7">
								<input type="text" class="form-control" name="grow" id="grow"
									value="${meter.grow }">
							</div>
						</div>
						<div class="form-group col-lg-5">
							<label class="col-lg-3 control-label add-one-form-label">宽幅<span
								class="font-red">*</span>:
							</label>
							<div class="col-lg-7">
								<input type="text" class="form-control" name="wide" id="wide"
									value="${meter.wide }">
							</div>
						</div>
					</div>
					<div class="row add-one-form-rowHeight">
						<div class="form-group col-lg-5 col-lg-offset-1">
							<label class="col-lg-3 control-label add-one-form-label">板厚<span
								class="font-red">*</span>:
							</label>
							<div class="col-lg-7">
								<input type="text" class="form-control" name="tall" id="tall"
									value="${meter.tall }">
							</div>
						</div>
						<div class="form-group col-lg-5">
							<label class="col-lg-3 control-label add-one-form-label">入库数量<span
								class="font-red">*</span>:
							</label>
							<div class="col-lg-7">
								<input type="text" class="form-control" name="inventory"
									id="inventory" value="${meter.inventory }">
							</div>
						</div>
					</div>
					<div class="row add-one-form-rowHeight">
						<div class="form-group col-lg-5 col-lg-offset-1">
							<label class="col-lg-3 control-label add-one-form-label">每枚可取数<span
								class="font-red">*</span>:
							</label>
							<div class="col-lg-7">
								<input type="text" class="form-control" name="perNum"
									id="perNum" value="${meter.perNum }">
							</div>
						</div>
						<div class="form-group col-lg-5">
							<label class="col-lg-3 control-label add-one-form-label">可取台数<span
								class="font-red">*</span>:
							</label>
							<div class="col-lg-7">
								<input type="text" class="form-control" name="planAmount"
									id="planAmount" value="${meter.planAmount }">
							</div>
						</div>
					</div>
					<div class="add-one-form-rowHeight add-one-form-button">
						<div class="">
							<button id="addTable" type="button" class="btn navbar-default"
								onClick="getTableValue()">提交</button>
						</div>
					</div>
				</div>
			</div>
		</div>
		<!--表单信息输入第三步E-->
		<!--表单信息输入-->

	</div>
	<input type = "text" hidden = "true" id="id" value="${meter.id }">
	<input type = "text" hidden = "true" id = "mapfactory" value="${map['factory'] }"/>
	<input type = "text" hidden = "true" id = "mapCode" value="${map['modelCode'] }"/>
	<input type = "text" hidden = "true" id = "mapPage" value="${map['mapPage'] }"/>
</body>
</html>